<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
	<table border="0" cellspacing="0" cellpadding="0" align="center">
		<tr>
			<td align="right">
				<span id="yemaa" href="javascript:void(0)"  ></span> 
				<span> 
				
					
												<ul class="pagination">
													<li class="prev "><a href="javascript:void(0)" id="prevv" onclick="prev()">上一页</a>&nbsp;&nbsp;
													</li>
													<li class="active"><span id="yema" href="javascript:void(0)"  ></span>
													</li>
													<li class="next"><a href="javascript:void(0)" id="nextt" onclick="next()">下一页</a>
													</li>
												</ul>
											
				</span>
			</td>
		</tr>
	</table>
		<!-- <s:hidden name="pageNum" id="pageNum"/> -->
		<input type="hidden" name="pageNum" id="pageNum">

<script type="text/javascript">
	
	function first(){
		var pageNumObj = document.getElementById("pageNum");
		pageNumObj.value = 1;
		initData(pageNumObj.value);
	}
	function prev(){
		//发送页码值=2到后台，后台获取对应信息，到页面上展示
		var pageNumObj = document.getElementById("pageNum");
		pageNumObj.value = pageNumObj.value * 1 - 1;
		initData(pageNumObj.value);
	}
	function next(){
		//发送页码值=2到后台，后台获取对应信息，到页面上展示
		var pageNumObj = document.getElementById("pageNum");
		pageNumObj.value = pageNumObj.value * 1 + 1;
		//提交form
		initData(pageNumObj.value);
	}
	function last(){
		var pageNumObj = document.getElementById("pageNum");
		pageNumObj.value = maxPageNum;
		initData(pageNumObj.value);
	}
</script>